home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / os2 / chapm11.zip / REGISTER.CHA < prev   
Text File  |  1994-05-11  |  3KB  |  110 lines

  1. CHAPMAN
  2. Version: 1.1
  3. Name: Registration
  4. Time: '11.05.94 13.40.23'
  5.  
  6. SubapplicationNames...: .
  7. SubapplicationFilenames...: .
  8.  
  9. Textvariables...: Comments Filename 'Init Code' 
  10.    'Finalize Code' 'Class Template' 'Method Template' 
  11.    'Method Comment Template' 'Programmer Id' Copyright .
  12.  
  13. Comments: 
  14. 'This application implements two classes:
  15.  
  16. ChApplicationDialog
  17.     displaying information on the application
  18. ChRegisterDialog
  19.     manage registration data and allow the entering of this data
  20.  
  21. An instance of both classes is created with the #forClass: method,
  22. the first parameter of which must be the application class.
  23. This class must define a method #aboutDialogData which answers
  24. a dictionary with the following entries:
  25.  
  26. ''name''        (String) name of the application
  27. ''icons''        (IndexedCollection of Icons) icons to be displayed
  28.             in the dialog box
  29. ''version''    (String) program version
  30. ''copyright''    (String) copyright notice
  31. ''address1''    (String) address lines
  32. ''address2''
  33. ''address3''
  34. ''register''    (String or nil) the name of the button which opens the
  35.             register dialog. nil for no button.
  36. ''language''    (String) indicate the language of the dialog texts. Currently
  37.             supported are: ''english'', ''deutsch''
  38. '
  39.  
  40. Filename: Register
  41.  
  42. 'Init Code:' ''
  43.  
  44. 'Finalize Code:' ''
  45.  
  46. 'Class Template:' <default>
  47.  
  48. 'Method Template:' <default>
  49.  
  50. 'Method Comment Template:' <default>
  51.  
  52. 'Programmer Id:' <default>
  53.  
  54. Copyright: <default>
  55.  
  56. LibraryBuilderScripts...: .
  57.  
  58. OwnedClasses...: ChAboutDialog ChRegisterDialog .
  59. RequiredClasses...: .
  60.  
  61. 'ChAboutDialog ClassComments:' 
  62. 'Description:
  63.     Implement a general about dialog class.
  64.  
  65.  
  66. Public Methods:        
  67.     Class Method:
  68.         #forClass        create in instance of the class
  69.     Instance Methods
  70.         #open            open the about dialog
  71.  
  72. Instance Variables:    None
  73. Class Variables:        None
  74. Global Variables:        None
  75. Pool Dictionaries:        None
  76.  
  77. Date        By        Description
  78. 15.12.93    ch         Creation
  79.  
  80. Copyright (c) 1993 by Carsten Härle'
  81.  
  82. 'ChRegisterDialog ClassComments:' 
  83. 'Description:
  84.     Manage the registration data and provide an register dialog where
  85.     the registration data can be entered.
  86.  
  87. Public Methods:        
  88.     Class Method:
  89.         #forClass:
  90.             Create in instance of the class.
  91.         
  92.     Instance Methods
  93.         #checkRegistered
  94.             Check if the software is registered and
  95.             take the neccessary steps if not.
  96.         #checkRegistrationSystem
  97.             Check if the registration system is intact. Answer true or false.
  98.         #getRegistrationData
  99.             Answer an array with the registration data
  100.         
  101. Instance Variables:    None
  102. Class Variables:        None
  103. Global Variables:        None
  104. Pool Dictionaries:        None
  105.  
  106. Date        By        Description
  107. 19.12.93    ch    Creation
  108.  
  109. Copyright (c) 1993 by Carsten Härle'
  110.